﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class user
    {
        public string account_number;
        public string userName;
        public string passWord;


        public string Account_number {
            get { return this.account_number; }
            set { this.account_number = value; }
        }
        public string UserName {
            get { return this.userName; }
            set { this.userName = value; }
        }
        public string PassWord {
            get { return this.passWord; }
            set { this.passWord = value; }
        }
        public void users()
            {
            Console.WriteLine("您的账号为：{0},您的用户名为：{1}，您的密码为：{2}",this.account_number,this.userName,this.passWord);
            Console.ReadLine();
}
    }
}
//1.定义一个用户类，存放用户的账号、用户名和密码属性；
//2.在用户类中定义一个方法输出当前用户对象的账号、用户名和密码的信息；然后在主方法调用输出；